package net.roseparadise.model;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;


/**
 * Reply entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="treply"
    ,catalog="studio"
)

public class Reply  implements java.io.Serializable {


    // Fields    

     private Integer replyid;
     private Integer messageid;
     private Integer memberid;
     private String membername;
     private String createdate;
     private String updatedate;
     private String content;


    // Constructors

    /** default constructor */
    public Reply() {
    }

	/** minimal constructor */
    public Reply(Integer messageid, Integer memberid, String membername, String createdate, String content) {
        this.messageid = messageid;
        this.memberid = memberid;
        this.membername = membername;
        this.createdate = createdate;
        this.content = content;
    }
    
    /** full constructor */
    public Reply(Integer messageid, Integer memberid, String membername, String createdate, String updatedate, String content) {
        this.messageid = messageid;
        this.memberid = memberid;
        this.membername = membername;
        this.createdate = createdate;
        this.updatedate = updatedate;
        this.content = content;
    }

   
    // Property accessors
    @GenericGenerator(name="generator", strategy="increment")@Id @GeneratedValue(generator="generator")
    
    @Column(name="REPLYID", unique=true, nullable=false)

    public Integer getReplyid() {
        return this.replyid;
    }
    
    public void setReplyid(Integer replyid) {
        this.replyid = replyid;
    }
    
    @Column(name="MESSAGEID", nullable=false)

    public Integer getMessageid() {
        return this.messageid;
    }
    
    public void setMessageid(Integer messageid) {
        this.messageid = messageid;
    }
    
    @Column(name="MEMBERID", nullable=false)

    public Integer getMemberid() {
        return this.memberid;
    }
    
    public void setMemberid(Integer memberid) {
        this.memberid = memberid;
    }
    
    @Column(name="MEMBERNAME", nullable=false, length=30)

    public String getMembername() {
        return this.membername;
    }
    
    public void setMembername(String membername) {
        this.membername = membername;
    }
    
    @Column(name="CREATEDATE", nullable=false, length=14)

    public String getCreatedate() {
        return this.createdate;
    }
    
    public void setCreatedate(String createdate) {
        this.createdate = createdate;
    }
    
    @Column(name="UPDATEDATE", length=14)

    public String getUpdatedate() {
        return this.updatedate;
    }
    
    public void setUpdatedate(String updatedate) {
        this.updatedate = updatedate;
    }
    
    @Column(name="CONTENT", nullable=false, length=65535)

    public String getContent() {
        return this.content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }
   








}